package com.yl.chainStore.mapper.pay

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.pay.PayOrderDiscountRule
import com.yl.chainStore.pojo.vo.pay.PayOrderDiscountRuleSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

@Mapper
interface PayOrderDiscountRuleMapper : BaseMapper<PayOrderDiscountRule> {

	/**
	 * 列表查询
	 */
	fun selectOrderRuleList(@Param("vo") vo: PayOrderDiscountRuleSelectVo): List<PayOrderDiscountRule>

	/**
	 * 分页查询
	 */
	fun selectOrderRulePage(
		@Param("page") page: Page<PayOrderDiscountRule>,
		@Param("vo") vo: PayOrderDiscountRuleSelectVo
	): Page<PayOrderDiscountRule>

}
